// 统一管理里面的api
import request from '@/utils/request'

// method: 'POST',
// admin/order/reply 回复
export const orderReply = (data) => {
  return request({
    url: 'admin/order/reply',
    method: 'POST',
    data
  })
}

// admin/comment/delete 商品评论 删除
export const commentListDelete = (data) => {
  return request({
    url: 'admin/comment/delete',
    method: 'POST',
    data
  })
}

// admin/comment/list 商品评论 列表数据
export const commentList = (params) => {
  return request({
    url: 'admin/comment/list',
    method: 'GET',
    params
  })
}
